Optimal. Leaf size=66 \[ \frac {2 (e x)^{1+m}}{c^2 e (a-b x)}-\frac {(1+2 m) (e x)^{1+m} \, _2F_1\left (1,1+m;2+m;\frac {b x}{a}\right )}{a c^2 e (1+m)} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.02, antiderivative size = 66, normalized size of antiderivative = 1.00, number of steps
used = 2, number of rules used = 2, integrand size = 22, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.091, Rules used = {79, 66}
\begin {gather*} \frac {2 (e x)^{m+1}}{c^2 e (a-b x)}-\frac {(2 m+1) (e x)^{m+1} \, _2F_1\left (1,m+1;m+2;\frac {b x}{a}\right )}{a c^2 e (m+1)} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 66
Rule 79
Rubi steps
\begin {align*} \int \frac {(e x)^m (a+b x)}{(a c-b c x)^2} \, dx &=\frac {2 (e x)^{1+m}}{c^2 e (a-b x)}-\frac {(1+2 m) \int \frac {(e x)^m}{a c-b c x} \, dx}{c}\\ &=\frac {2 (e x)^{1+m}}{c^2 e (a-b x)}-\frac {(1+2 m) (e x)^{1+m} \, _2F_1\left (1,1+m;2+m;\frac {b x}{a}\right )}{a c^2 e (1+m)}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.07, size = 62, normalized size = 0.94 \begin {gather*} -\frac {x (e x)^m \left (2 a (1+m)-(1+2 m) (a-b x) \, _2F_1\left (1,1+m;2+m;\frac {b x}{a}\right )\right )}{a c^2 (1+m) (-a+b x)} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [F]
time = 0.02, size = 0, normalized size = 0.00 \[\int \frac {\left (e x \right )^{m} \left (b x +a \right )}{\left (-b c x +a c \right )^{2}}\, dx\]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Failed to integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [C] Result contains complex when optimal does not.
time = 3.06, size = 799, normalized size = 12.11 \begin {gather*} a \left (\frac {a e^{m} m^{2} x x^{m} \Phi \left (\frac {b x e^{2 i \pi }}{a}, 1, m + 1\right ) \Gamma \left (m + 1\right )}{- a^{3} c^{2} \Gamma \left (m + 2\right ) + a^{2} b c^{2} x \Gamma \left (m + 2\right )} + \frac {a e^{m} m x x^{m} \Phi \left (\frac {b x e^{2 i \pi }}{a}, 1, m + 1\right ) \Gamma \left (m + 1\right )}{- a^{3} c^{2} \Gamma \left (m + 2\right ) + a^{2} b c^{2} x \Gamma \left (m + 2\right )} - \frac {a e^{m} m x x^{m} \Gamma \left (m + 1\right )}{- a^{3} c^{2} \Gamma \left (m + 2\right ) + a^{2} b c^{2} x \Gamma \left (m + 2\right )} - \frac {a e^{m} x x^{m} \Gamma \left (m + 1\right )}{- a^{3} c^{2} \Gamma \left (m + 2\right ) + a^{2} b c^{2} x \Gamma \left (m + 2\right )} - \frac {b e^{m} m^{2} x^{2} x^{m} \Phi \left (\frac {b x e^{2 i \pi }}{a}, 1, m + 1\right ) \Gamma \left (m + 1\right )}{- a^{3} c^{2} \Gamma \left (m + 2\right ) + a^{2} b c^{2} x \Gamma \left (m + 2\right )} - \frac {b e^{m} m x^{2} x^{m} \Phi \left (\frac {b x e^{2 i \pi }}{a}, 1, m + 1\right ) \Gamma \left (m + 1\right )}{- a^{3} c^{2} \Gamma \left (m + 2\right ) + a^{2} b c^{2} x \Gamma \left (m + 2\right )}\right ) + b \left (\frac {a e^{m} m^{2} x^{2} x^{m} \Phi \left (\frac {b x e^{2 i \pi }}{a}, 1, m + 2\right ) \Gamma \left (m + 2\right )}{- a^{3} c^{2} \Gamma \left (m + 3\right ) + a^{2} b c^{2} x \Gamma \left (m + 3\right )} + \frac {3 a e^{m} m x^{2} x^{m} \Phi \left (\frac {b x e^{2 i \pi }}{a}, 1, m + 2\right ) \Gamma \left (m + 2\right )}{- a^{3} c^{2} \Gamma \left (m + 3\right ) + a^{2} b c^{2} x \Gamma \left (m + 3\right )} - \frac {a e^{m} m x^{2} x^{m} \Gamma \left (m + 2\right )}{- a^{3} c^{2} \Gamma \left (m + 3\right ) + a^{2} b c^{2} x \Gamma \left (m + 3\right )} + \frac {2 a e^{m} x^{2} x^{m} \Phi \left (\frac {b x e^{2 i \pi }}{a}, 1, m + 2\right ) \Gamma \left (m + 2\right )}{- a^{3} c^{2} \Gamma \left (m + 3\right ) + a^{2} b c^{2} x \Gamma \left (m + 3\right )} - \frac {2 a e^{m} x^{2} x^{m} \Gamma \left (m + 2\right )}{- a^{3} c^{2} \Gamma \left (m + 3\right ) + a^{2} b c^{2} x \Gamma \left (m + 3\right )} - \frac {b e^{m} m^{2} x^{3} x^{m} \Phi \left (\frac {b x e^{2 i \pi }}{a}, 1, m + 2\right ) \Gamma \left (m + 2\right )}{- a^{3} c^{2} \Gamma \left (m + 3\right ) + a^{2} b c^{2} x \Gamma \left (m + 3\right )} - \frac {3 b e^{m} m x^{3} x^{m} \Phi \left (\frac {b x e^{2 i \pi }}{a}, 1, m + 2\right ) \Gamma \left (m + 2\right )}{- a^{3} c^{2} \Gamma \left (m + 3\right ) + a^{2} b c^{2} x \Gamma \left (m + 3\right )} - \frac {2 b e^{m} x^{3} x^{m} \Phi \left (\frac {b x e^{2 i \pi }}{a}, 1, m + 2\right ) \Gamma \left (m + 2\right )}{- a^{3} c^{2} \Gamma \left (m + 3\right ) + a^{2} b c^{2} x \Gamma \left (m + 3\right )}\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [F]
time = 0.00, size = -1, normalized size = -0.02 \begin {gather*} \int \frac {{\left (e\,x\right )}^m\,\left (a+b\,x\right )}{{\left (a\,c-b\,c\,x\right )}^2} \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________